﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace uTorrentRemote
{
    // represents the token
    // really you can add here more parameters such as
    // - token priority
    // - token load time delay
    // - test token, etc...
    // be sure your dispatcher can understand these commands

    public class Token : IEquatable<Token>
    {
        private string token;

        public Token(string token)
        {
            this.token = token;
        }

        public override string ToString()
        {
            return token;
        }

        public bool Equals(Token other)
        {
            if (other.token == this.token)
                return true;
            else
                return false;
        }
    }
}
